package com.yonyou.ncmm_pac_pda;

import com.yonyou.uap.um.application.ApplicationContext;
import com.yonyou.uap.um.base.*;
import com.yonyou.uap.um.common.*;
import com.yonyou.uap.um.third.*;
import com.yonyou.uap.um.control.*;
import com.yonyou.uap.um.core.*;
import com.yonyou.uap.um.binder.*;
import com.yonyou.uap.um.runtime.*;
import com.yonyou.uap.um.lexer.*;
import com.yonyou.uap.um.widget.*;
import com.yonyou.uap.um.widget.UmpSlidingLayout.SlidingViewType;
import com.yonyou.uap.um.log.ULog;
import java.util.*;
import android.os.*;
import android.view.*;
import android.widget.*;
import android.webkit.*;
import android.content.*;
import android.graphics.*;
import android.widget.ImageView.ScaleType;

public abstract class ArrivalOrderActivity extends UMWindowActivity {

	protected UMWindow ArrivalOrder = null;
protected XVerticalLayout viewPage0 = null;
protected XHorizontalLayout navigatorbar0 = null;
protected UMButton button0 = null;
protected UMLabel label0 = null;
protected UMButton button1 = null;
protected XHorizontalLayout panel0 = null;
protected UMLabel label1 = null;
protected UMLabel label2 = null;
protected XHorizontalLayout panel1 = null;
protected UMLabel label3 = null;
protected XHorizontalLayout panel11 = null;
protected UMLabel label4 = null;
protected UMButton button5 = null;
protected XHorizontalLayout panel2 = null;
protected UMLabel label5 = null;
protected UMLabel label6 = null;
protected XHorizontalLayout panel3 = null;
protected UMLabel label7 = null;
protected UMLabel label8 = null;
protected XHorizontalLayout panel4 = null;
protected UMLabel label9 = null;
protected UMLabel label10 = null;
protected XHorizontalLayout panel5 = null;
protected UMLabel label11 = null;
protected UMLabel label12 = null;
protected XHorizontalLayout panel12 = null;
protected UMLabel label19 = null;
protected UMLabel label20 = null;
protected XHorizontalLayout panel6 = null;
protected UMLabel label13 = null;
protected UMTextbox textbox0 = null;
protected XHorizontalLayout panel10 = null;
protected UMLabel label18 = null;
protected UMLabel label21 = null;
protected XHorizontalLayout panel7 = null;
protected UMLabel label15 = null;
protected UMLabel label22 = null;
protected XHorizontalLayout panel8 = null;
protected UMLabel label17 = null;
protected UMTextbox textbox2 = null;
protected XHorizontalLayout panel9 = null;
protected UMButton button3 = null;
protected UMLabel label14 = null;
protected UMButton button2 = null;
protected UMLabel label16 = null;
protected UMButton button4 = null;

	
	protected final static int ID_ARRIVALORDER = 843259737;
protected final static int ID_VIEWPAGE0 = 2073964755;
protected final static int ID_NAVIGATORBAR0 = 1983774263;
protected final static int ID_BUTTON0 = 1607316483;
protected final static int ID_LABEL0 = 469822282;
protected final static int ID_BUTTON1 = 539224008;
protected final static int ID_PANEL0 = 691692925;
protected final static int ID_LABEL1 = 367764817;
protected final static int ID_LABEL2 = 1545997740;
protected final static int ID_PANEL1 = 1854704578;
protected final static int ID_LABEL3 = 1842213891;
protected final static int ID_PANEL11 = 804872825;
protected final static int ID_LABEL4 = 1509981851;
protected final static int ID_BUTTON5 = 2071453201;
protected final static int ID_PANEL2 = 78392476;
protected final static int ID_LABEL5 = 507741957;
protected final static int ID_LABEL6 = 1749880433;
protected final static int ID_PANEL3 = 1188420420;
protected final static int ID_LABEL7 = 1034710199;
protected final static int ID_LABEL8 = 1036948769;
protected final static int ID_PANEL4 = 1611089561;
protected final static int ID_LABEL9 = 1867836895;
protected final static int ID_LABEL10 = 1249689524;
protected final static int ID_PANEL5 = 72458534;
protected final static int ID_LABEL11 = 1704578901;
protected final static int ID_LABEL12 = 1726692285;
protected final static int ID_PANEL12 = 1580636239;
protected final static int ID_LABEL19 = 1870638056;
protected final static int ID_LABEL20 = 1595414;
protected final static int ID_PANEL6 = 1972570582;
protected final static int ID_LABEL13 = 205434163;
protected final static int ID_TEXTBOX0 = 1667634322;
protected final static int ID_PANEL10 = 552636451;
protected final static int ID_LABEL18 = 1742734319;
protected final static int ID_LABEL21 = 1121050301;
protected final static int ID_PANEL7 = 549151455;
protected final static int ID_LABEL15 = 1330176502;
protected final static int ID_LABEL22 = 1390106746;
protected final static int ID_PANEL8 = 669549740;
protected final static int ID_LABEL17 = 1466836928;
protected final static int ID_TEXTBOX2 = 704432398;
protected final static int ID_PANEL9 = 1551172807;
protected final static int ID_BUTTON3 = 1032936776;
protected final static int ID_LABEL14 = 135989404;
protected final static int ID_BUTTON2 = 1886767341;
protected final static int ID_LABEL16 = 542310823;
protected final static int ID_BUTTON4 = 400300920;

	
	
	@Override
	public String getControllerName() {
		return "ArrivalOrderController";
	}
	
	@Override
	public String getContextName() {
		return "";
	}

	@Override
	public String getNameSpace() {
		return "com.yonyou.ncmm_pac_pda";
	}

	protected void onCreate(Bundle savedInstanceState) {
		ULog.logLC("onCreate", this);
		super.onCreate(savedInstanceState);
        onInit(savedInstanceState);
        
	}
	
	@Override
	protected void onStart() {
		ULog.logLC("onStart", this);
		
		super.onStart();
	}

	@Override
	protected void onRestart() {
		ULog.logLC("onRestart", this);
		
		super.onRestart();
	}

	@Override
	protected void onResume() {
		ULog.logLC("onResume", this);
		
		super.onResume();
	}

	@Override
	protected void onPause() {
		ULog.logLC("onPause", this);
		
		super.onPause();
	}

	@Override
	protected void onStop() {
		ULog.logLC("onStop", this);
		
		super.onStop();
	}

	@Override
	protected void onDestroy() {
		ULog.logLC("onDestroy", this);
		
		super.onDestroy();
	}
	
	public  void onInit(Bundle savedInstanceState) {
		ULog.logLC("onInit", this);
		UMActivity context = this;
		registerControl();
		this.getContainer();
		
		/*
		 new Thread() {
			 public void run() {
				 UMPDebugClient.startServer();
			 }
		 }.start();
		*/
		String sys_debug = ApplicationContext.getCurrent(this).getValue("sys_debug");
		if (sys_debug != null && sys_debug.equalsIgnoreCase("true")) {
			UMPDebugClient.waitForDebug();
		}

		IBinderGroup binderGroup = this;
		currentPage = getCurrentWindow(context, binderGroup);
super.setContentView(currentPage);

		
	}
	
	private void registerControl() {
		  idmap.put("ArrivalOrder",ID_ARRIVALORDER);
  idmap.put("viewPage0",ID_VIEWPAGE0);
  idmap.put("navigatorbar0",ID_NAVIGATORBAR0);
  idmap.put("button0",ID_BUTTON0);
  idmap.put("label0",ID_LABEL0);
  idmap.put("button1",ID_BUTTON1);
  idmap.put("panel0",ID_PANEL0);
  idmap.put("label1",ID_LABEL1);
  idmap.put("label2",ID_LABEL2);
  idmap.put("panel1",ID_PANEL1);
  idmap.put("label3",ID_LABEL3);
  idmap.put("panel11",ID_PANEL11);
  idmap.put("label4",ID_LABEL4);
  idmap.put("button5",ID_BUTTON5);
  idmap.put("panel2",ID_PANEL2);
  idmap.put("label5",ID_LABEL5);
  idmap.put("label6",ID_LABEL6);
  idmap.put("panel3",ID_PANEL3);
  idmap.put("label7",ID_LABEL7);
  idmap.put("label8",ID_LABEL8);
  idmap.put("panel4",ID_PANEL4);
  idmap.put("label9",ID_LABEL9);
  idmap.put("label10",ID_LABEL10);
  idmap.put("panel5",ID_PANEL5);
  idmap.put("label11",ID_LABEL11);
  idmap.put("label12",ID_LABEL12);
  idmap.put("panel12",ID_PANEL12);
  idmap.put("label19",ID_LABEL19);
  idmap.put("label20",ID_LABEL20);
  idmap.put("panel6",ID_PANEL6);
  idmap.put("label13",ID_LABEL13);
  idmap.put("textbox0",ID_TEXTBOX0);
  idmap.put("panel10",ID_PANEL10);
  idmap.put("label18",ID_LABEL18);
  idmap.put("label21",ID_LABEL21);
  idmap.put("panel7",ID_PANEL7);
  idmap.put("label15",ID_LABEL15);
  idmap.put("label22",ID_LABEL22);
  idmap.put("panel8",ID_PANEL8);
  idmap.put("label17",ID_LABEL17);
  idmap.put("textbox2",ID_TEXTBOX2);
  idmap.put("panel9",ID_PANEL9);
  idmap.put("button3",ID_BUTTON3);
  idmap.put("label14",ID_LABEL14);
  idmap.put("button2",ID_BUTTON2);
  idmap.put("label16",ID_LABEL16);
  idmap.put("button4",ID_BUTTON4);

	}
	
	public void onLoad() {
		ULog.logLC("onLoad", this);
		if(currentPage!=null) {
			currentPage.onLoad();
		}
	
		{ //viewPage0 - action:viewpage0_onload
    UMEventArgs args = new UMEventArgs(ArrivalOrderActivity.this);
    actionViewpage0_onload(viewPage0,args);

}

	}
	
	public void onDatabinding() {
		ULog.logLC("onDatabinding", this);
		super.onDatabinding();
		
	}
	
	@Override
	public void onReturn(String methodName, Object returnValue) {
		
	}

	@Override
	public void onAfterInit() {
		ULog.logLC("onAfterInit", this);
		
		onLoad();
	}
	
		@Override
	public Map<String,String> getPlugout(String id) {
		XJSON from = this.getUMContext();
		Map<String,String> r = super.getPlugout(id);
		
		return r;	
	}
	
	
	
	public View getNavigatorbar0View(final UMActivity context,IBinderGroup binderGroup) {
navigatorbar0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_NAVIGATORBAR0
,"color","#323232"
,"padding-left","8"
,"font-size","17"
,"valign","center"
,"title","条码打印"
,"width","fill"
,"font-family","default"
,"background-image","navbar_login.png"
,"layout-type","vbox"
,"halign","LEFT"
,"padding-right","8"
,"height","44.0"
);
button0 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON0
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button0_onclick"
,"width","44"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_back.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button0);
label0 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL0
,"width","0"
,"weight","1"
,"valign","center"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"height","fill"
);
navigatorbar0.addView(label0);
button1 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON1
,"font-pressed-color","#e50011"
,"color","#ffffff"
,"onclick","action:button1_onclick"
,"width","44.0"
,"font-size","20"
,"font-family","default"
,"valign","center"
,"background-image","icon_menu.png"
,"layout-type","hbox"
,"halign","center"
,"height","44"
);
navigatorbar0.addView(button1);

return navigatorbar0;
}
public View getPanel0View(final UMActivity context,IBinderGroup binderGroup) {
panel0 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL0
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label1 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL1
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","条码"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel0.addView(label1);
label2 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL2
,"margin-left","5"
,"color","#000000"
,"width","0"
,"font-size","14"
,"weight","5"
,"valign","top"
,"font-family","default"
,"layout-type","hbox"
,"type","multiline"
,"halign","left"
,"height","fill"
);
panel0.addView(label2);

return panel0;
}
public View getPanel11View(final UMActivity context,IBinderGroup binderGroup) {
panel11 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL11
,"background","#ffffff"
,"width","0"
,"weight","5"
,"valign","center"
,"margin-top","5"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","fill"
);
label4 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL4
,"color","#000000"
,"font-size","14"
,"weight","1"
,"valign","center"
,"margin-right","10"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel11.addView(label4);
button5 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON5
,"font-pressed-color","#f2adb2"
,"color","#000000"
,"onclick","action:button5_onclick"
,"font-size","17"
,"valign","center"
,"margin-right","5"
,"background","#00ff40"
,"width","150"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"value","选择规则"
,"height","44"
);
panel11.addView(button5);

return panel11;
}
public View getPanel1View(final UMActivity context,IBinderGroup binderGroup) {
panel1 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL1
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label3 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL3
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","条码规则"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel1.addView(label3);
View panel11 = (View) getPanel11View((UMActivity)context,binderGroup);
panel1.addView(panel11);

return panel1;
}
public View getPanel2View(final UMActivity context,IBinderGroup binderGroup) {
panel2 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL2
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label5 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL5
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","物料编码"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel2.addView(label5);
label6 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL6
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel2.addView(label6);

return panel2;
}
public View getPanel3View(final UMActivity context,IBinderGroup binderGroup) {
panel3 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL3
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label7 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL7
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","物料名称"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel3.addView(label7);
label8 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL8
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel3.addView(label8);

return panel3;
}
public View getPanel4View(final UMActivity context,IBinderGroup binderGroup) {
panel4 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL4
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label9 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL9
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","规格"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel4.addView(label9);
label10 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL10
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel4.addView(label10);

return panel4;
}
public View getPanel5View(final UMActivity context,IBinderGroup binderGroup) {
panel5 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL5
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label11 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL11
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","型号"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel5.addView(label11);
label12 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL12
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel5.addView(label12);

return panel5;
}
public View getPanel12View(final UMActivity context,IBinderGroup binderGroup) {
panel12 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL12
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label19 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL19
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","批次号"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel12.addView(label19);
label20 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL20
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel12.addView(label20);

return panel12;
}
public View getPanel6View(final UMActivity context,IBinderGroup binderGroup) {
panel6 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL6
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label13 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL13
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","炉批号"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel6.addView(label13);
textbox0 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX0
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"font-size","17"
,"weight","5"
,"margin-left","5"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"placeholder","输入炉批号"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","fill"
);
panel6.addView(textbox0);

return panel6;
}
public View getPanel10View(final UMActivity context,IBinderGroup binderGroup) {
panel10 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL10
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label18 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL18
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","流水号"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel10.addView(label18);
label21 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL21
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel10.addView(label21);

return panel10;
}
public View getPanel7View(final UMActivity context,IBinderGroup binderGroup) {
panel7 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL7
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label15 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL15
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","卷号"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel7.addView(label15);
label22 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL22
,"color","#000000"
,"font-size","14"
,"weight","5"
,"valign","center"
,"margin-left","5"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","center"
,"margin-bottom","5"
,"height","fill"
);
panel7.addView(label22);

return panel7;
}
public View getPanel8View(final UMActivity context,IBinderGroup binderGroup) {
panel8 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL8
,"border-bottom-color","#c0c0c0"
,"width","fill"
,"border-bottom-width","2px"
,"weight","1"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","0"
);
label17 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL17
,"color","#000000"
,"border-right-width","2px"
,"font-size","20"
,"weight","2"
,"border-right-color","#c0c0c0"
,"valign","center"
,"content","重量"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"layout-type","hbox"
,"halign","right"
,"margin-bottom","5"
,"height","fill"
,"padding-right","10"
);
panel8.addView(label17);
textbox2 = (UMTextbox)ThirdControl.createControl(new UMTextbox(context),ID_TEXTBOX2
,"color","#167ef8"
,"maxlength","256"
,"padding-left","4"
,"font-size","17"
,"weight","5"
,"margin-left","5"
,"background","#ffffff"
,"width","0"
,"font-family","default"
,"margin-top","5"
,"placeholder","输入重量"
,"layout-type","hbox"
,"halign","LEFT"
,"margin-bottom","5"
,"height","fill"
);
panel8.addView(textbox2);

return panel8;
}
public View getPanel9View(final UMActivity context,IBinderGroup binderGroup) {
panel9 = (XHorizontalLayout)ThirdControl.createControl(new XHorizontalLayout(context),ID_PANEL9
,"padding-left","10"
,"width","fill"
,"valign","center"
,"layout-type","vbox"
,"halign","LEFT"
,"height","80"
,"padding-right","10"
);
button3 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON3
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"border-top-width","3px"
,"border-bottom-color","#ff0000"
,"border-right-width","3px"
,"onclick","action:button3_onclick"
,"border-left-color","#ff0000"
,"font-size","17"
,"weight","1"
,"valign","center"
,"border-right-color","#ff0000"
,"border-left-width","3px"
,"width","0"
,"border-bottom-width","3px"
,"border-top-color","#ff0000"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","下一个"
,"height","44"
);
panel9.addView(button3);
label14 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL14
,"margin-left","5"
,"color","#000000"
,"width","20"
,"font-size","14"
,"valign","center"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"margin-right","5"
,"height","20"
);
panel9.addView(label14);
button2 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON2
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"border-top-width","3px"
,"border-bottom-color","#ff0000"
,"border-right-width","3px"
,"onclick","action:button2_onclick"
,"border-left-color","#ff0000"
,"font-size","17"
,"weight","1"
,"valign","center"
,"border-right-color","#ff0000"
,"border-left-width","3px"
,"width","0"
,"border-bottom-width","3px"
,"border-top-color","#ff0000"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","生成条码"
,"height","44"
);
panel9.addView(button2);
label16 = (UMLabel)ThirdControl.createControl(new UMLabel(context),ID_LABEL16
,"margin-left","5"
,"color","#000000"
,"width","20"
,"font-size","14"
,"valign","center"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"margin-right","5"
,"height","20"
);
panel9.addView(label16);
button4 = (UMButton)ThirdControl.createControl(new UMButton(context),ID_BUTTON4
,"font-pressed-color","#f2adb2"
,"color","#e50011"
,"border-top-width","3px"
,"border-bottom-color","#ff0000"
,"border-right-width","3px"
,"onclick","action:button4_onclick"
,"border-left-color","#ff0000"
,"font-size","17"
,"weight","1"
,"valign","center"
,"border-right-color","#ff0000"
,"border-left-width","3px"
,"width","0"
,"border-bottom-width","3px"
,"border-top-color","#ff0000"
,"font-family","default"
,"layout-type","hbox"
,"halign","center"
,"value","打印条码"
,"height","44"
);
panel9.addView(button4);

return panel9;
}
public View getViewPage0View(final UMActivity context,IBinderGroup binderGroup) {
viewPage0 = (XVerticalLayout)ThirdControl.createControl(new XVerticalLayout(context),ID_VIEWPAGE0
,"background","#ffffff"
,"width","fill"
,"valign","TOP"
,"layout-type","vbox"
,"halign","center"
,"onload","action:viewpage0_onload"
,"height","fill"
);
View navigatorbar0 = (View) getNavigatorbar0View((UMActivity)context,binderGroup);
viewPage0.addView(navigatorbar0);
View panel0 = (View) getPanel0View((UMActivity)context,binderGroup);
viewPage0.addView(panel0);
View panel1 = (View) getPanel1View((UMActivity)context,binderGroup);
viewPage0.addView(panel1);
View panel2 = (View) getPanel2View((UMActivity)context,binderGroup);
viewPage0.addView(panel2);
View panel3 = (View) getPanel3View((UMActivity)context,binderGroup);
viewPage0.addView(panel3);
View panel4 = (View) getPanel4View((UMActivity)context,binderGroup);
viewPage0.addView(panel4);
View panel5 = (View) getPanel5View((UMActivity)context,binderGroup);
viewPage0.addView(panel5);
View panel12 = (View) getPanel12View((UMActivity)context,binderGroup);
viewPage0.addView(panel12);
View panel6 = (View) getPanel6View((UMActivity)context,binderGroup);
viewPage0.addView(panel6);
View panel10 = (View) getPanel10View((UMActivity)context,binderGroup);
viewPage0.addView(panel10);
View panel7 = (View) getPanel7View((UMActivity)context,binderGroup);
viewPage0.addView(panel7);
View panel8 = (View) getPanel8View((UMActivity)context,binderGroup);
viewPage0.addView(panel8);
View panel9 = (View) getPanel9View((UMActivity)context,binderGroup);
viewPage0.addView(panel9);

return viewPage0;
}
public UMWindow getCurrentWindow(final UMActivity context,IBinderGroup binderGroup) {
ArrivalOrder = (UMWindow)ThirdControl.createControl(new UMWindow(context),ID_ARRIVALORDER
,"layout","vbox"
,"controller","ArrivalOrderController"
,"namespace","com.yonyou.ncmm_pac_pda"
,"width","fill"
,"valign","TOP"
,"layout-type","linear"
,"halign","center"
,"height","fill"
);
View viewPage0 = (View) getViewPage0View((UMActivity)context,binderGroup);
ArrivalOrder.addView(viewPage0);

return (UMWindow)ArrivalOrder;
}

	
	public void actionButton1_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button1_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button1_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton5_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button5_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button5_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton2_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button2_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button2_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton3_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button3_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button3_onclick()",UMActivity.getViewId(control),args);
}
public void actionButton4_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button4_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button4_onclick()",UMActivity.getViewId(control),args);
}
public void actionViewpage0_onload(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "viewpage0_onload";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.viewPage0_onload()",UMActivity.getViewId(control),args);
}
public void actionButton0_onclick(View control, UMEventArgs args) {
    args.put("containerName","");
    args.put("language","javascript");
    String actionid = "button0_onclick";
  ActionProcessor.exec(this, actionid, args);
  this.getContainer().exec(actionid, "this.button0_onclick()",UMActivity.getViewId(control),args);
}


}
